package com.hxj.ecokey.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hxj.ecokey.entity.Product;
import com.hxj.ecokey.mapper.ProductMapper;
import com.hxj.ecokey.service.ProductService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductsServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService {

    @Override
    public List<Product> getAllProducts(){
        return this.list();
    }
}
